<template>
  <view class="add-success-page">
    <view class="add-success-section">
      <view class="add-success-icon-wrap">
        <image class="add-success-icon-img" src="/static/success.png" mode="widthFix"></image>
      </view>
      <button class="add-success-btn" @click="goBack">返回</button>
    </view>
  </view>
</template>

<script setup>
// 引入 uni-app 路由方法（可选，直接使用全局 uni 对象）
const goBack = () => {
  uni.reLaunch({ url: '/pages/car/car' })
}
</script>

<style>
.add-success-page {
  background: #fafafa;
  min-height: 100vh;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
.add-success-section {
  background: #fff;
  border-radius: 40rpx;
  margin: 40rpx 16rpx 0 16rpx;
  padding: 100rpx 0 100rpx 0;
  box-shadow: 0 8rpx 32rpx rgba(35,138,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.add-success-icon-wrap {
  margin-bottom: 48rpx;
}
.add-success-icon-img {
  width: 300rpx;
  height: 120rpx;
  display: block;
  margin: 0 auto 48rpx auto;
}
.add-success-text {
  font-size: 40rpx;
  color: #222;
  font-weight: bold;
  margin-bottom: 64rpx;
}
.add-success-btn {
  background: linear-gradient(90deg, #238aff 0%, #4da6ff 100%);
  color: #fff;
  font-size: 36rpx;
  font-weight: 500;
  border-radius: 50rpx;
  padding: 10rpx 0;
  margin-top: -50rpx;
  margin-bottom: 50rpx;
  width: 80vw;
  border: none;
  box-shadow: 0 2rpx 8rpx rgba(35,138,255,0.10);
}
</style> 